﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
	<ListInstance  Id="$Resources:TreeList_ID"
     FeatureId="{2E881219-997E-43a1-9821-9A0838491431}"
     TemplateType="100"
     RootWebOnly="FALSE"
     Title="$Resources:MCCResources,TreeList_Title"
     OnQuickLaunch="FALSE"
    />

	<Field DisplayName="$Resources:MCCResources,SiteColumn_TreePosition" ID="{A5307500-440B-4980-8984-E8CE2C6F2858}" Type="MCCTreePosition" ShowInFileDlg="FALSE" ShowInDisplayForm="FALSE" StaticName="$Resources:MCCResources, TreePosition_InternalColumnName;" Name="$Resources:MCCResources, TreePosition_InternalColumnName;" Group="$Resources:MCCResources,SiteColumn_Group" SourceID="{66483841-6acd-40bb-b9f1-fdc94f5cf094}" />

	<Module Name="WebPartPopulation" Url="_catalogs/wp" Path="" RootWebOnly="TRUE">
		<File Url="MCCDocumentView.webpart" IgnoreIfAlreadyExists="TRUE"  Type="GhostableInLibrary">
			<Property Name="Group" Value="$Resources:WebPart_Group"></Property>
      <Property Name="Title" Value="$Resources:MCCDocumentView_Title"></Property>
      <Property Name="WebPartDescription" Value="$Resources:MCCDocumentView_Description"></Property>
    </File>
		<File Url="MCCTreeView.webpart" IgnoreIfAlreadyExists="TRUE"  Type="GhostableInLibrary">
			<Property Name="Group" Value="$Resources:WebPart_Group"></Property>
      <Property Name="Title" Value="$Resources:MCCTreeView_Title"></Property>
      <Property Name="WebPartDescription" Value="$Resources:MCCTreeView_Description"></Property>
		</File>		
	</Module>

	<CustomAction
		Id="MCCAdministration"
		GroupId="SiteCollectionAdmin"
		Location="Microsoft.SharePoint.SiteSettings"
		Sequence="10"
    ImageUrl="~sitecollection/_layouts/images/MCC/MC_Logo32.gif"
		Title="$Resources:MCCAdministration_Title;">
		<UrlAction Url="~site/_layouts/MCC/MCCAdministrationPage.aspx" />
	</CustomAction>

  <CustomAction
  RequireSiteAdministrator="TRUE"
  Id="MCCAdministrationStdMenu"
  GroupId="SiteActions"
  Location="Microsoft.SharePoint.StandardMenu"
  Sequence="1100"
  ImageUrl="~sitecollection/_layouts/images/MCC/MC_Logo32.gif"
  Title="$Resources:MCCAdministration_Title;"
   Description="$Resources:MCCAdministration_Description"
  >             
    <UrlAction Url="~site/_layouts/MCC/MCCAdministrationPage.aspx" />
  </CustomAction>

  <CustomAction
    Id="MCCAdminDocLibs"
    Title ="$Resources:MCCAdmin_Lists_Title;"
    Description="$Resources:MCCAdmin_Lists_Description;"
    RegistrationType="List"    
    Rights="ManageLists"
    Location="Microsoft.SharePoint.StandardMenu"
    GroupId="SettingsMenu"
    ImageUrl="~sitecollection/_layouts/images/MCC/MC_Logo32.gif"
     >
    <UrlAction Url="~site/_layouts/MCC/MCCListSettings.aspx?List={ListId}"/>
    
  </CustomAction>
</Elements>
